<nav class="navbar navbar-default navbar-static-top" role="navigation">
	<div class="container-fluid">
		<div>
			<ul class="nav navbar-nav">
				<!-- <li ><a href="${BasePath}/page/admin/adminMain" style="color: #333;font-weight: normal;font-size: 20px;">有氧</a></li> -->
				<li ><a href="${BasePath}/page/admin/adminMain" style="color: #333;font-weight: normal;font-size: 20px;">首页</a></li>
				<!-- <li ><a href="${BasePath}/page/admin/teachers">教师列表</a></li>
				<li ><a href="${BasePath}/page/admin/news">新闻列表</a></li> -->
			</ul>
		</div>
		<ul class="nav navbar-nav pull-right">
		    <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">
		        <img src="${BasePath}/admin/images/user.png" class="nav-avatar" />
		        <b class="caret"></b></a>
		        <ul class="dropdown-menu" style="min-width:140px;text-align:center">
		            <!-- <li><a href="#">Your Profile</a></li>
		            <li><a href="#">Edit Profile</a></li>
		            <li><a href="#">Account Settings</a></li>
		            <li class="divider"></li> -->
		            <!-- <li><a href="${BasePath}/page/admin/logout">退出</a></li> -->
		            <li><a href="javascript:#" onclick="adminout()">退出</a></li>
		        </ul>
		    </li>
		</ul>
		<!-- <div style="float: right;">
			<ul class="nav btn-link">
				<li class="active"><a href="${BasePath}/page/admin/logout">退出</a></li>
			</ul>
		</div> -->
	</div>
</nav>
<script>
function adminout(){
	var adminstorage=window.localStorage;
	adminstorage.removeItem("ADMIN-ACCESS-TOKEN");//清除c的值
	
	window.location.href="${BasePath}/logout"
}
</script>